interface TitleProps {
	word: any;
	more?: HTMLElement | any;
}

const Title = ({ word, more = "" }: TitleProps) => {
	return (
		<p
			style={{
				width: "100%",
				borderBottom: "1px solid #ccc",
				paddingBottom: "10px",
				paddingLeft: "5px",
				fontSize: "15px",
				fontWeight: "bold",
				display: "flex",
				justifyContent: "space-between",
				alignItems: "center"
			}}
		>
			{word}
			{more}
		</p>
	);
};
export default Title;
